]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
initial-setup: Add battery icon
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 23 Mar 2013 09:29:19 +0000 (10:29 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sun, 24 Mar 2013 08:39:34 +0000 (09:39 +0100)
There is no reason why there shouldn't be a battery icon in initial-setup,
knowing how much battery you have left is useful in during setup as well.

This also fixes an exception in the lock screen caused by the combined icon
not finding the battery one.

https://bugzilla.gnome.org/show_bug.cgi?id=696212

js/ui/sessionMode.js

index 7d6b2e4f6468aa1e19cec3afe4f6ddf5e891263d..13318cd9990e74d64b40a16b9c2cfcd9865d1452 100644 (file)
@@ -84,7 +84,7 @@ const _modes = {
         panel: {
             left: [],
             center: ['dateMenu'],
-            right: ['a11yGreeter', 'keyboard', 'volume']
+            right: ['a11yGreeter', 'keyboard', 'volume', 'battery']
         }
     },